package com.prolestar.publicsentiment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.prolestar.common.annotation.Excel;
import com.prolestar.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 舆情处置对象 ps_publicsentiment
 * 
 * @author ruoyi
 * @date 2022-11-11
 */
public class PsPublicsentiment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 舆情实体id
 */
    @Excel(name = "舆情实体id ")
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String pstitle;

    /** 倾向性 */
    @Excel(name = "倾向性")
    private Long tendentiousness;

    /** 链接 */
    @Excel(name = "URL")
    private String linkUrl;

    /** 媒体类型 */
    @Excel(name = "媒体类型")
    private Long mediaType;

    /** 来源网站 */
    @Excel(name = "来源网站")
    private String srcWebset;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 舆情属地/信息发布地 */
    @Excel(name = "舆情属地/信息发布地")
    private Long releaseArea;

    /** 舆情分类 */
    @Excel(name = "舆情分类")
    private Long pscategory;

    /** 涉及问题 */
    @Excel(name = "涉及问题")
    private Long issuesInvolved;

    /** 应对策略 */
    @Excel(name = "应对策略")
    private Long strategies;

    /** 是否特别关注；0=否；1=是 */
    @Excel(name = "是否特别关注；0=否；1=是")
    private Long isAttention;

    /** 舆情等级 */
    @Excel(name = "舆情等级")
    private Long pslevel;

    /** 关键字 */
    @Excel(name = "关键字")
    private String keywords;

    /** 舆情内容 */
    @Excel(name = "舆情内容")
    private String pscontent;

    /** 处理时限/小时 */
    @Excel(name = "处理时限/小时")
    private Long dealPeriod;

    /** 作者 */
    @Excel(name = "作者")
    private String newsAuthor;

    /** 信源范围 */
    @Excel(name = "信源范围")
    private Long sourceRange;

    /** 阅读数 */
    @Excel(name = "阅读数")
    private Long readingCount;

    /** 评论/回复数 */
    @Excel(name = "评论/回复数")
    private Long replyCount;

    /** 转发数 */
    @Excel(name = "转发数")
    private Long sharesCount;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likesCount;

    /** 微博粉丝量 */
    @Excel(name = "微博粉丝量")
    private Long wbFans;

    /** 状态：1=草稿；2=提交；3=已分派；4=已接收；5=已处置；5=已完成；6=退回； */
    @Excel(name = "状态：1=草稿；2=提交；3=已分派；4=已接收；5=已处置；5=已完成；6=退回；")
    private Long psStatus;

    /** 是否删除；0=否；1=是 */
    @Excel(name = "是否删除；0=否；1=是")
    private Long isDelete;

    private Long sign;  // 是否签收

    private Long readStatus;   // 是否已读

    /*部门id*/
    private Long deptId;

    private Long taskId;

    /**
     * 应对策略-描述
     */
    private String strategyDesc;



    public String getStrategyDesc() {
        return strategyDesc;
    }

    public void setStrategyDesc(String strategyDesc) {
        this.strategyDesc = strategyDesc;
    }








    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPstitle(String pstitle) 
    {
        this.pstitle = pstitle;
    }

    public String getPstitle() 
    {
        return pstitle;
    }
    public void setTendentiousness(Long tendentiousness) 
    {
        this.tendentiousness = tendentiousness;
    }

    public Long getTendentiousness() 
    {
        return tendentiousness;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }
    public void setMediaType(Long mediaType) 
    {
        this.mediaType = mediaType;
    }

    public Long getMediaType() 
    {
        return mediaType;
    }
    public void setSrcWebset(String srcWebset) 
    {
        this.srcWebset = srcWebset;
    }

    public String getSrcWebset() 
    {
        return srcWebset;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setReleaseArea(Long releaseArea) 
    {
        this.releaseArea = releaseArea;
    }

    public Long getReleaseArea() 
    {
        return releaseArea;
    }
    public void setPscategory(Long pscategory) 
    {
        this.pscategory = pscategory;
    }

    public Long getPscategory() 
    {
        return pscategory;
    }
    public void setIssuesInvolved(Long issuesInvolved) 
    {
        this.issuesInvolved = issuesInvolved;
    }

    public Long getIssuesInvolved() 
    {
        return issuesInvolved;
    }
    public void setStrategies(Long strategies) 
    {
        this.strategies = strategies;
    }

    public Long getStrategies() 
    {
        return strategies;
    }
    public void setIsAttention(Long isAttention) 
    {
        this.isAttention = isAttention;
    }

    public Long getIsAttention() 
    {
        return isAttention;
    }
    public void setPslevel(Long pslevel) 
    {
        this.pslevel = pslevel;
    }

    public Long getPslevel() 
    {
        return pslevel;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setPscontent(String pscontent) 
    {
        this.pscontent = pscontent;
    }

    public String getPscontent() 
    {
        return pscontent;
    }
    public void setDealPeriod(Long dealPeriod) 
    {
        this.dealPeriod = dealPeriod;
    }

    public Long getDealPeriod() 
    {
        return dealPeriod;
    }
    public void setNewsAuthor(String newsAuthor) 
    {
        this.newsAuthor = newsAuthor;
    }

    public String getNewsAuthor() 
    {
        return newsAuthor;
    }
    public void setSourceRange(Long sourceRange) 
    {
        this.sourceRange = sourceRange;
    }

    public Long getSourceRange() 
    {
        return sourceRange;
    }
    public void setReadingCount(Long readingCount) 
    {
        this.readingCount = readingCount;
    }

    public Long getReadingCount() 
    {
        return readingCount;
    }
    public void setReplyCount(Long replyCount) 
    {
        this.replyCount = replyCount;
    }

    public Long getReplyCount() 
    {
        return replyCount;
    }
    public void setSharesCount(Long sharesCount) 
    {
        this.sharesCount = sharesCount;
    }

    public Long getSharesCount() 
    {
        return sharesCount;
    }
    public void setLikesCount(Long likesCount) 
    {
        this.likesCount = likesCount;
    }

    public Long getLikesCount() 
    {
        return likesCount;
    }
    public void setWbFans(Long wbFans) 
    {
        this.wbFans = wbFans;
    }

    public Long getWbFans() 
    {
        return wbFans;
    }
    public void setPsStatus(Long psStatus) 
    {
        this.psStatus = psStatus;
    }

    public Long getPsStatus() 
    {
        return psStatus;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pstitle", getPstitle())
            .append("tendentiousness", getTendentiousness())
            .append("linkUrl", getLinkUrl())
            .append("mediaType", getMediaType())
            .append("srcWebset", getSrcWebset())
            .append("releaseTime", getReleaseTime())
            .append("releaseArea", getReleaseArea())
            .append("pscategory", getPscategory())
            .append("issuesInvolved", getIssuesInvolved())
            .append("strategies", getStrategies())
            .append("isAttention", getIsAttention())
            .append("pslevel", getPslevel())
            .append("keywords", getKeywords())
            .append("pscontent", getPscontent())
            .append("dealPeriod", getDealPeriod())
            .append("newsAuthor", getNewsAuthor())
            .append("sourceRange", getSourceRange())
            .append("readingCount", getReadingCount())
            .append("replyCount", getReplyCount())
            .append("sharesCount", getSharesCount())
            .append("likesCount", getLikesCount())
            .append("wbFans", getWbFans())
            .append("psStatus", getPsStatus())
            .append("isDelete", getIsDelete())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getSign() {
        return sign;
    }

    public void setSign(Long sign) {
        this.sign = sign;
    }

    public Long getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Long readStatus) {
        this.readStatus = readStatus;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
}
